const pluginName = 'ConsoleWebpackPlugin'

class ConsoleWebpackPlugin {
  apply(compiler) {
    compiler.hooks.compilation.tap(pluginName, (compilation) => {
      console.log('compilation event hook 触发')
    })
  }
}

module.exports = ConsoleWebpackPlugin
